import request from '@/utils/request'

// 查询
export function getList(params) {
  return request({
    url: 'hermes/adsCustInfoProcess/getCustInfoProcess',
    method: 'get',
    params
  })
}
// 详情
export function getDetail(params) {
  return request({
    url: 'hermes/adsCustInfoProcess/getDetail',
    method: 'get',
    params
  })
}
// 重新发起
export function reloadInitiate(data) {
  return request({
    url: 'hermes/adsCustInfoProcess/reloadInitiate',
    method: 'post',
    data
  })
}
// 删除
export function deleteProcess(data) {
  return request({
    url: 'hermes/adsCustInfoProcess/deleteProcess',
    method: 'post',
    data
  })
}
// 通过
export function pass(data) {
  return request({
    url: 'hermes/adsCustInfoProcess/pass',
    method: 'post',
    data
  })
}
// 通过
export function passExamine(data) {
  return request({
    url: 'hermes/adsCustInfoProcess/examine',
    method: 'post',
    data
  })
}
// 拒绝
export function noPass(data) {
  return request({
    url: 'hermes/adsCustInfoProcess/refuse',
    method: 'post',
    data
  })
}
// 撤回
export function reTurn(data) {
  return request({
    url: 'hermes/adsCustInfoProcess/reTurn',
    method: 'post',
    data
  })
}

// 流转
export function reloadMove(data) {
  return request({
    url: 'hermes/adsCustInfoProcess/reloadMove',
    method: 'post',
    data
  })
}